/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

/**
 *
 * @author TiOc
 */
public class BrandName implements java.io.Serializable
{
    //<editor-fold defaultstate="collapsed" desc="1. Các thuộc tính">
     private int idBrandName;
     private String nameBrandName;
     private int idMenu;
     private String link;
     private int order;
     private int isPublish;
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="2. Các phương thức khởi tạo">
    public BrandName()
    {
        this.idBrandName = -1;
        this.nameBrandName = "";
        this.idMenu = -1;
        this.link = "";
        this.order = -1;
        this.isPublish = -1;
    }

    public BrandName(int idBrandName, String nameBrandName, int idMenu, String link, int order, int isPublish) 
    {
        this.idBrandName = idBrandName;
        this.nameBrandName = nameBrandName;
        this.idMenu = idMenu;
        this.link = link;
        this.order = order;
        this.isPublish = isPublish;
    }
    
    public BrandName(BrandName bn)
    {
        this.idBrandName = bn.idBrandName;
        this.nameBrandName =bn.nameBrandName;
        this.idMenu = bn.idMenu;
        this.link = bn.link;
        this.order = bn.order;
        this.isPublish = bn.isPublish;
    }
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="3. Các phương thức get/set">

    public int getIdBrandName() {
        return idBrandName;
    }

    public void setIdBrandName(int idBrandName) {
        this.idBrandName = idBrandName;
    }

    public int getIdMenu() {
        return idMenu;
    }

    public void setIdMenu(int idMenu) {
        this.idMenu = idMenu;
    }

    public int getIsPublish() {
        return isPublish;
    }

    public void setIsPublish(int isPublish) {
        this.isPublish = isPublish;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getNameBrandName() {
        return nameBrandName;
    }

    public void setNameBrandName(String nameBrandName) {
        this.nameBrandName = nameBrandName;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    @Override
    public String toString()
    {
        return this.nameBrandName;
    }
    //</editor-fold>
}
